
<p><b>syntax:</b> <i>limit_except methods {...}</i>
</p><p><b>default:</b> <i>no</i>
</p><p><b>context:</b> <i>location</i>
</p><p>Directive limits HTTP-methods, accessible inside location.
</p><p>For the limitation can be used the directives of modules ngx_http_access_module and ngx_http_auth_basic_module:
</p><p></p>
<pre class="code"><span class="kw3">limit_except</span>  GET <span class="br0">&#123;</span>
  <span class="kw5">allow</span>  <span class="nu0">192.168</span><span class="nu0">.1</span><span class="nu0">.0</span>/<span class="nu0">32</span>;
  <span class="kw5">deny</span>   all;
<span class="br0">&#125;</span></pre>
<br><i>Module: NginxHttpCoreModule</i>